package com.solcoo.service;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.solcoo.dao.PriceTicketDao;
import com.solcoo.pojo.PriceTicket;

@Service
public class PriceTicketService {

	@Resource
    private PriceTicketDao priceTicketDao;

    public void modifyPriceTicket(PriceTicket pt) throws Exception {
    	priceTicketDao.modifyPriceTicket(pt);
    }

    public PriceTicket queryPriceTicket(int merchantId) throws Exception {
    	return priceTicketDao.selectPriceTicket(merchantId);
    }

}
